import request from '@/utils/request'

// tree列表数据
export const enterRegistration = (data) => {
  return request({
    method: 'post',
    url: '/business-hall/tree',
    data
  })
}

// 分页查询回车登记列表
export const intoStorageEndApi = (data) => {
  return request({
    method: 'post',
    url: '/truck-return-register/pageQuery',
    data
  })
}

// 回车登记详情
export const registerDetails = (id) => {
  return request({
    method: 'get',
    url: `/truck-return-register/detail/${id}`
  })
}
